package org.duiduo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.duiduo.mapper.TbUserMapper;
import org.duiduo.pojo.TbUser;
import org.duiduo.service.TbUserService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * (TbUser)表服务实现类
 *
 * @author liangze
 * @date 2021-07-30 15:20:34
 * @since
 */
@Service
public class TbUserServiceImpl implements TbUserService {

    @Autowired
    private TbUserMapper tbUserMapper;

    @Override
    public List<TbUser> getList() {
        return tbUserMapper.getList();
    }

    @Override
    public int insert(TbUser user) {
        return tbUserMapper.insert(user);
    }


}
